// pages/balanceDetail/balanceDetail.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
      detailData:[
        {realityMoney:'99.00',money:'100.00',date:'2018.08.08',state:'审核中'},
        {realityMoney:'99.00',money:'100.00',date:'2018.08.08',state:'提现成功'},
        {realityMoney:'99.00',money:'100.00',date:'2018.08.08',state:'提现失败'}
    
      ],
      Startdate:'开始时间',
      endDate:'结束时间',
      startDateState: false,
      endDateState: false

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },
  bindStartDateChange: function (e) {
    console.log('picker发送选择改变，携带值为', e.detail.value)
    this.setData({
      Startdate: e.detail.value,
      startDateState: true
    })
  },
  bindEndDateChange: function (e) {
    console.log('picker发送选择改变，携带值为', e.detail.value)
    this.setData({
      endDate: e.detail.value,
      endDateState: true
    })
  },
  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})